//
//  BandCardStore.h
//  NewPro
//
//  Created by RYX on 2018/10/25.
//  Copyright © 2018年 何荧红. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BandCardStore : NSObject

/**
 * 银行卡列表
 */
- (void)getBandCardListSuccess:(void(^)(NSArray *listArr))success Failure:(void(^)(NSError *error))failure;


/**
 * 添加银行卡
 */
- (void)addBandCardListWithCustomId:(NSString *)customId banNum:(NSString *)bandNum bankName:(NSString *)bankName andPhone:(NSString *)phone andType:(NSString *)type Success:(void(^)(void))success Failure:(void(^)(NSError *error))failure;

/**
 * 获取验证码
 */
- (void)getCodeWithTelephoneNumber:(NSString *)telephoneNumber Success:(void(^)(NSString *code))success Failure:(void(^)(NSError *error))failure;


/**
 * 删除银行卡
 */
- (void)deleteBankCardWithId:(NSString *)bankCardId Success:(void(^)(void))success Failure:(void(^)(NSError *error))failure;

/**
 * 设置默认银行卡
 */
- (void)setDefaultBankCardWithId:(NSString *)bankCardId Success:(void(^)(void))success Failure:(void(^)(NSError *error))failure;
@end


